FROM java:8

RUN mkdir -p /workdir \
    && mkdir -p /usr/local/zhi-pagesite/ \
    && touch /usr/local/zhi-pagesite/pagesite.log

ADD zhi-pagesite.jar /usr/local/zhi-pagesite/
ADD start.sh /usr/local/zhi-pagesite/
ADD application.properties /workdir/
